package be.ac.ua.comp.projectGPT;

public class Test {
    public static void main( String[] args ) {
        Market market = new Market();
        Provider provider1 = new Provider();
        EnglishAuctioneer auctioneer1 = new EnglishAuctioneer(provider1, 5, 1);
        
        {
            FileCompareJob job1 = new FileCompareJob("file1.txt", "file2.txt");
            BusyLoopJob job2 = new BusyLoopJob();
            Consumer consumer1 = new Consumer();
            consumer1.addJob(job1);
            consumer1.addJob(job2);
            consumer1.depositMoney(100);
            consumer1.createEnglishBiddingAgent(auctioneer1, 10);
        }
        

        {
            FileCompareJob job1 = new FileCompareJob("file1.txt", "file2.txt");
            BusyLoopJob job2 = new BusyLoopJob();
            Consumer consumer1 = new Consumer();
            consumer1.addJob(job1);
            consumer1.addJob(job2);
            consumer1.depositMoney(100);
            consumer1.createEnglishBiddingAgent(auctioneer1, 15);
        }  


 
        auctioneer1.runAuction();
    }
}

